import request from "@/utils/request";
import store from "@/store";

// 查询数据
export function getDataApi(params) {
  return request({
    url: '/crm/activity/crmIndex',
    method: 'GET',
    params: {
      ...params,
      createBy: store.state.user.name,
      userId: store.state.user.id,
    }
  })
}
